package com.gopay.common.domain.bank.umpay.mtpay;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import com.gopay.common.domain.bank.ExPayBaseMessage;

public class UmPayMtPayMessage  extends ExPayBaseMessage implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8757935017544159013L;
	
	/**
	 * 协议参数
	 */
	// 接口名称
	private String service = "";
	// 参数字符编码集
	private String charset = "";
	// 商户编号
	private String merId = "";
	// 签名方式
	private String signType = "";
	// 签名
	private String sign = "";
	// 服务器异步通知地址
//	private String notifyUrl = "";
	// 前台通知
	private String ret_url = "";
	// 响应数据格式
	private String resFormat = "";
	// 版本号
	private String version = "";

	/**
	 * 业务参数
	 */
	// 商品号
	private String goodsId = "";
	// 商品描述信息
	private String goodsInf = "";
	// 媒介类型
	private String mediaType = "";
	// 商户唯一订单号
	private String orderNo = "";
	// 商户订单日期
	private String merDate = "";
	// 付款金额
	private String amt = "" ;
	// 付款币种
	private String amtType = "";
	// 默认支付方式
	private String payType = "";
	// 卡号
	private String cardId = "";
	// 信用卡有效期
	private String validDate = "";
	// 商户私有域
	private String merPriv = "";
	// 业务扩展信息
	private String expand = "";
	// 订单过期时长
	private String expireTime = "";

	/**
	 * 请求数据对象
	 */
	// 平台URL地址
	private String url = "";
	// 请求对象Map
	private Map<String, String> reqMap = new HashMap<String, String>();
	// 支付结果验签返回Map
	private Map<String, String> resMap = new HashMap<String, String>();

	/**
	 * 返回数据对象
	 */
	// 订单状态
	private String tradeState = "";
	// 返回码
	private String retCode = "";
	// 返回信息
	private String retMsg = "";
	// 交易错误码
	private String errorCode = "";
	// 清算日期
	private String settleDate = "";
	// 联动交易号
    private String tradeNo = "";

	public String getRet_url() {
		return ret_url;
	}

	public void setRet_url(String ret_url) {
		this.ret_url = ret_url;
	}

	public String getSettleDate() {
		return settleDate;
	}

	public void setSettleDate(String settleDate) {
		this.settleDate = settleDate;
	}

	public String getRetCode() {
		return retCode;
	}

	public void setRetCode(String retCode) {
		this.retCode = retCode;
	}

	public String getRetMsg() {
		return retMsg;
	}

	public void setRetMsg(String retMsg) {
		this.retMsg = retMsg;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getTradeState() {
		return tradeState;
	}

	public void setTradeState(String tradeState) {
		this.tradeState = tradeState;
	}

	public Map<String, String> getReqMap() {
		return reqMap;
	}

	public void setReqMap(Map<String, String> reqMap) {
		this.reqMap = reqMap;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}

	public String getCharset() {
		return charset;
	}

	public void setCharset(String charset) {
		this.charset = charset;
	}

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getSignType() {
		return signType;
	}

	public void setSignType(String signType) {
		this.signType = signType;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	/*public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}*/

	public String getResFormat() {
		return resFormat;
	}

	public void setResFormat(String resFormat) {
		this.resFormat = resFormat;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsInf() {
		return goodsInf;
	}

	public void setGoodsInf(String goodsInf) {
		this.goodsInf = goodsInf;
	}

	public String getMediaType() {
		return mediaType;
	}

	public void setMediaType(String mediaType) {
		this.mediaType = mediaType;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getMerDate() {
		return merDate;
	}

	public void setMerDate(String merDate) {
		this.merDate = merDate;
	}

	public String getAmt() {
		return amt;
	}

	public void setAmt(String amt) {
		this.amt = amt;
	}

	public String getAmtType() {
		return amtType;
	}

	public void setAmtType(String amtType) {
		this.amtType = amtType;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getValidDate() {
		return validDate;
	}

	public void setValidDate(String validDate) {
		this.validDate = validDate;
	}

	public String getMerPriv() {
		return merPriv;
	}

	public void setMerPriv(String merPriv) {
		this.merPriv = merPriv;
	}

	public String getExpand() {
		return expand;
	}

	public void setExpand(String expand) {
		this.expand = expand;
	}

	public String getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(String expireTime) {
		this.expireTime = expireTime;
	}

	public Map<String, String> getResMap() {
		return resMap;
	}

	public void setResMap(Map<String, String> resMap) {
		this.resMap = resMap;
	}

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }
}
